<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link rel="stylesheet" href="Console/styles/main-styles.css" />
    <link href="Console/styles/js-console.css" rel="stylesheet" />
</head>
<body>
    <div id="wrapper">
        <h3>
            Write a function to count the number of divs on the web page
        </h3>
        <br />
        <a href="#" onclick="InitArray()">Gimme numbars!</a>
        <div id="console">
        </div>
    </div>
    <script src="Console/scripts/js-console.js">	  
    </script>
    <script>

        var allDivs = document.getElementsByTagName('div');

        jsConsole.writeLine(allDivs.length);

    </script>
</body>
</html>
